// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import Router from 'vue-router'
import routerSetting from './router'
import Vuex from 'vuex'
import store from './store/store'
import iView from 'iview'
import 'iview/dist/styles/iview.css'
import identify from './components/common/identify'
Vue.use(iView)
Vue.use(Router)
Vue.use(Vuex)
Vue.use(identify)
import { DatetimePlugin } from 'vux';
Vue.use(DatetimePlugin);
    // Vue.use(axios)
Vue.prototype.$Message.config({
    top: 200,
    duration: 1
});

// import VConsole from 'vconsole/dist/vconsole.min.js' //import vconsole
// let vConsole = new VConsole() // 初始化
var router = new Router(routerSetting);
new Vue({
    el: '#app',
    router,
    store,
    template: '<App/>',
    components: { App }
})